]> dgit.raspbian.org Git - gnome-shell.git/commit
userWidget: Simplify icon size setting a bit
authorJonas Dreßler <verdre@v0yd.nl>
Sun, 16 Feb 2020 22:03:14 +0000 (23:03 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Tue, 18 Feb 2020 22:10:00 +0000 (22:10 +0000)
commit38b38732d3c744cc25f7270c7e22946e6da8d19a
treefe1930368516398e7a6372e50456e70b418b840c
parent24c8f5bb709b072c603c551cb090c5606f8b8a8a
userWidget: Simplify icon size setting a bit

Remove the default icon size of -1 and always set the container StBin to
a real size. This fixes an error where the "width" and "height"
properties get set to -2 (which is -1 * scaleFactor) in the `_init`
function.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1018
js/ui/userWidget.js